(function ($) {
    'use strict';

    var host = "http://192.168.199.179:8080/PhalApi";
    var obj = {method: "GET", url: host + "/Public/pandora/"};
    request(obj, function (data) {//异步的来处理 和在node.js上面使用相似

        console.log(data);
        var tpl = document.getElementById('tpl').innerHTML;
        var html = juicer(tpl, data);
        $('#bid').append(html);


    }, function () {
    });
})(jQuery);